package models

type Response struct {
	Output    Output `json:"output"`
	Usage     Usage  `json:"usage,omitempty"`
	RequestId string `json:"request_id"`
}

type Output struct {
	Text         string    `json:"text,,omitempty"`
	FinishReason string    `json:"finish_reason,omitempty"`
	Choices      []Choices `json:"choices"`
}
type Choices struct {
	FinishReason string     `json:"finish_reason"`
	Message      ResMessage `json:"message"`
}

type ResMessage struct {
	Role    string       `json:"role"`
	Content []ResContent `json:"content"`
}
type ResContent struct {
	Text string `json:"text"`
}

type Usage struct {
	OutputTokens int `json:"output_tokens,omitempty"`
	InputTokens  int `json:"input_tokens,omitempty"`
	ImageTokens  int `json:"image_tokens,omitempty"`
}
